package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.no.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author xuejian
 * @email 160994754@qq.com
 * @date 2020-06-18 22:42:33
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AttrEntity> getRelationAttr(Long attrGroupId);

    void saveAttr(AttrVo attr);

    PageUtils queryBaseAttrPage(Map<String,Object> params, Long catelogId, String type);
}

